package com.jiantong.work.service;

import com.jiantong.work.model.ImmunizationSubRecord;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;

import java.util.List;
import java.util.Map;

/**
 * Created by mz on 26/7/17.
 */
public interface ImmunizationSubRecordReadService {

    /**
     * 根据vaccineId 查询
     *
     * @param vaccineId 主表的id
     * @return List<ImmunizationSubRecord>
     */
    Response<List<ImmunizationSubRecord>> selectList(Long vaccineId);

    Response<Paging<ImmunizationSubRecord>> pagingImmunizationRecordGqv1(Integer pageNo, Integer pageSize, Map map);

    List<Map<String, Object>> findAlltimesAlltype(Map map);

    Long countISRTimes(Map map);
    List<ImmunizationSubRecord> findBybreedFactoryId(Long breedFactoryId);

    Response<Integer> countImmunizationForWeb(Map<String, Object> map);

    Response<List<Map<String,Object>>> findImmunizationInfoForWeb(Map<String, Object> map);
}
